<div class="panel">
	<div class="panel-heading">个人积分趋势图</div>
    <div class="panel-body">
    	<div id="memberChartContainer" style=""></div>
    </div>
<script>
    $(function (){
        Highcharts.setOptions({
            colors: ['#65CEA7','#24CBE5',  '#ED561B', '#50B432','#DDDF00',  '#64E572', '#FF9655', '#FFF263', '#6AF9C4']
        });
		$('#memberChartContainer').highcharts({
			//月积分
			chart: {width: $('.active .col-sm-7.col-md-8.col-lg-9').width()},
			title: {
				text: '{$monthly}'
			},
			xAxis: {
				categories: {$monthdate}
			},
			yAxis: {title: {text: '积分数量 (分)'}},
			labels: {items: [{style: {left: '30px', top: '5px'}}]},
			series: [
			<?php  foreach($montharr as $k=>$v){ ?>
			{
				type: 'line',
				name: '{$k}',
				data: {$v}
			},
			<?php } ?>
			]
		});
    });
</script>
</div>